www.gusucode.com > ROCBOSS微社区-微信论坛程序 v2.1PHP源码程序 > ROCBOSS微社区-微信论坛程序 v2.1/ROCBOSS_v2.1.0/ROCBOSS_v2.1.0/app/template/rocboss/_admin.reply.tpl.php

    <?php die('Access Denied');?>
<link rel="stylesheet" type="text/css" href="{$css}simditor.css" />
<script type="text/javascript" src="{$js}module.js"></script>
<script type="text/javascript" src="{$js}hotkeys.js"></script>
<script type="text/javascript" src="{$js}simditor.js"></script>

<section>
    <ol class="bz-breadcrumb">
        <li><a href="{$root}admin">管理中心</a></li>
        <li class="bz-active">回复管理</li>
    </ol>

    <form method="post" id="form">
        <table class="bz-table">
            <thead>
            <tr>
            <th width="30">PID</th>
            <th>回复内容</td>
            <th>用户</td>
            <th>发布时间</td>
            <th width="140">操作</td>
            </tr>
            </thead>
            <tbody>
            {loop $replyArray $reply}
                <tr id="reply-{$reply.pid}">
                    <td align="center">
                        <input type="checkbox" class="checkbox" name="pid[]" value="{$reply.pid}" />
                    </td>
                    <td align="left">
                        <a href="{$root}read/{$reply.tid}#reply-{$reply.pid}" target="_blank" style="white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow: hidden; max-width:600px; display:block;">
                            {$reply.content}
                        </a>
                    </td>
                    <td align="left">
                        <a href="{$root}user/{$reply.uid}" title="{$reply.username}" target="_blank" style="white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow: hidden;">
                            {$reply.username}
                        </a>
                    </td>
                    <td align="center">
                        {$reply.posttime}
                    </td>
                    <td align="center">
                        <a href="javascript:editReplyForm({$reply.pid});" class="bz-button bz-button-primary" title="编辑"><i class="iconfont icon-edit x2"></i></a>
                        <a href="javascript:delReply({$reply.pid});" onclick="if(!(confirm('确定要删除吗?'))) return false;" class="bz-button bz-button-sm" title="删除" id="delReply-{$reply.pid}"><i class="iconfont icon-shanchu x2"></i></a>
                    </td>
                </tr>
            {/loop}
            </tbody>
            <tfoot>
            <tr>
            <th></th>
            <th></th>
            <th></th>
            <th></th>
            <th><a class="btn btn-warning" href="javascript:void(delAllReply())">删除所选</a></th>
            </tr>
            </tfoot>
        </table>
    </form>
    <div class="pagination">
        {if empty($replyArray)} 
            暂无数据 
        {else} 
            {$page} 
        {/if}
    </div>
</section>